
package guoanmaker.operator.business.model;



import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import guoanmaker.operator.helper.common.abstractobj.IdEntity;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

@Getter
@Setter
@AllArgsConstructor
@NoArgsConstructor
@Entity
@Table(name = "t_operator_residuecount")
public class ResidueCount extends IdEntity {
	@Column(name = "kind")
	private int kind;// 类型 1 商标 2 专利
	@Column(name = "residue_count")
	private int residueCount;// 剩余次数
	@Column(name = "service_type")
	private String serviceType;// 服务类型
	@Column(name = "last_query_date")
	private Date lastQueryDate;// 最后查询时间
	
	ResidueCount(int residueCount, Date lastQueryDate){
		this.residueCount = residueCount;
		this.lastQueryDate = lastQueryDate;
	}
}
